//基本资料
const basicData = [
    {
      title:'账号信息',
      id:1,
      type:'basic',
      basicDataChild:[
        {label:'用户ID',value:'',status:'basic'},
        {label:'子账号',value:'-',status:'basic'},
        {label:'会员名称',value:'-',status:'basic'},
        {label:'手机号码',value:'-',status:'basic'},
        {label:'邮箱',value:'',status:'basic'},
        {label:'三方登录',value:'',status:'basic'},
        {label:'用户昵称',value:'',status:'basic'},
        {label:'身份证号',value:'',status:'basic'},
        {label:'账号状态',value:'',status:'basic'}
      ]
    },
    {
      title:'真爱信息',
      id:2,
      type:'basic',
      basicDataChild:[
        {label:'用户ID',value:'',status:'basic'},
        {label:'子账号',value:'-',status:'basic'},
        {label:'会员名称',value:'-',status:'basic'},
        {label:'手机号码',value:'-',},
        {label:'邮箱',value:'',status:'basic'},
        {label:'三方登录',value:'',status:'basic'},
        {label:'用户昵称',value:'',status:'basic'},
        {label:'身份证号',value:'',status:'basic'},
        {label:'账号状态',value:'',status:'basic'}
      ]
    },
    {
      title:'标签',
      id:3,
      type:'basic',
      basicDataChild:[
        {label:'标签',value:'',status:'basic'}
      ]
    },
    {
      title:'收货信息',
      id:2,
      type:'basic',
      basicDataChild:[
        {label:'收货人',value:'',status:'basic'},
        {label:'收货电话',value:'',status:'basic'},
        {label:'收货人地址',value:'-',status:'basic'}
      ]
    },
    {
      title:'会员信息',
      id:3,
      type:'basic',
      basicDataChild:[
        {label:'会员等级',value:'-',status:'basic'},
        {label:'累计消费金额',value:'-',status:'basic'},
        {label:'入会时间',value:'-',status:'basic'},
        {label:'入会渠道',value:'-',status:'basic'},
        {label:'首次预约时间',value:'xhy@12546465.com',status:'basic'},
        {label:'首次预约店铺',value:'',status:'basic'},
      ]
    },
    {
        title:'定制费账户',
        id:4,
        type:'basic',
        basicDataChild:[
          {label:'累计积分',value:'-',status:'basic'},
          {label:'当前可用积分',value:'-',status:'basic'},
          {label:'即将过期积分',value:'-',status:'basic'},
        ]
      },
    {
      title:'积分信息',
      id:5,
      type:'basic',
      basicDataChild:[
        {label:'累计积分',value:'-',status:'basic'},
        {label:'当前可用积分',value:'-',status:'basic'},
        {label:'即将过期积分',value:'-',status:'basic'},
      ]
    },
    {
      title:'卡包信息',
      id:6,
      type:'basic',
      basicDataChild:[
        {label:'累计卡券数量',value:'-',status:'basic'},
        {label:'当前可用卡券',value:'-',status:'basic'},
        {label:'已过期卡券',value:'-',status:'basic'},
      ]
    },
    {
      title:'交易信息',
      id:7,
      type:'basic',
      basicDataChild:[
        {label:'交易订单数',value:'-',status:'basic'},
        {label:'交易额',value:'-',status:'basic'},
        {label:'累计退款订单',value:'-',status:'basic'},
        {label:'累计退款订单金额',value:'-',status:'basic'},
      ]
    },
    {
      title:'社交信息',
      id:8,
      type:'basic',
      basicDataChild:[
        {label:'微信UnionID',value:'-',status:'basic'},
        {label:'QQ号',value:'-',status:'basic'},
        {label:'微博账号',value:'-',status:'basic'},
        {label:'微信号',value:'-',status:'basic'},
        {label:'支付宝账号',value:'-',status:'basic'},
      ]
    },
    {
      title:'拓展信息',
      id:9,
      type:'basic',
      basicDataChild:[
        {label:'预约来源',value:'-',status:'basic'},
        {label:'预约次数',value:'-',status:'basic'}
      ]
    }
  ]

  //等级与权益
  const classEquity = [
    {
      title:'会员等级',
      id:1,
      type:"basic",
      basicDataChild:[
        {label:'当前等级',value:'-',status:'basic'},
        {label:'原等级',value:'-',status:'basic'},
        {label:'变更时间',value:'-',status:'basic'}
      ]
    },
    {
      title:'会员权益',
      id:5,
      type:"card",
      basicDataChild:[
        {label:'会员邀请福利',value:'-',status:'card'},
        {label:'售后维修费用减免',value:'-',status:'card'},
        {label:'贵宾年度纪念礼',value:'-',status:'card'},
        {label:'二次消费享受双倍积分',value:'-',status:'card'},
      ]
    }
  ]

  const integraAccount = [
    {
      title:'积分总览',
      id:1,
      type:'patternCard',
      basicDataChild:[
        {label:'可用积分',value:'-',status:'patternCard'},
        {label:'即将过期积分',value:'-',status:'patternCard'},
        {label:'已使用积分',value:'-',status:'patternCard'},
      ]
    },
    {
      title:'积分明细',
      id:5,
      type:'table',
      // basicDataChild:[
      //   {
      //     status:'table',
      //     tableHead:[
      //       { prop: 'id', operation: '变动渠道', width: '100px',fixed:true},
      //       { prop: 'id', operation: '变动原因', width: '100px',fixed:true},
      //       { prop: 'id', operation: '变动时间', width: '100px',fixed:false},
      //       { prop: 'id', operation: '积分变动', width: '100px',fixed:false},
      //       { prop: 'id', operation: '剩余积分', width: '100px',fixed:false},
      //       { prop: 'id', operation: '订单编号', width: '100px',fixed:false},
      //       { prop: 'id', operation: '状态', width: '100px',fixed:false},
      //       { prop: 'id', operation: '用途', width: '100px',fixed:false},
      //       { prop: 'id', operation: '生效时间', width: '100px',fixed:false},
      //       { prop: 'id', operation: '过期时间', width: '100px',fixed:false},
      //       { prop: 'id', operation: '操作人', width: '100px',fixed:false},
      //     ]
  
      //   },
      // ]
    }
  ]
  
//定制费账户
const customizaTableH= [
  {
    prop: 'changingWay', // <String>  对应属性名
    label: '渠道', // <String>   表头标签
    width: '',
    fixed: true
  },
  {
    prop: 'changingReason', 
    label: '原因', 
    width: '',
    fixed: false
  },
  {
    prop: 'orderId', 
    label: '订单号',
    width: '',
    fixed: false
  },
  {
    prop: 'changingAccount', 
    label: '变动金额', 
    width: '',
    fixed: false
  },
  {
    prop: 'createTime',
    label: '时间', 
    width: '',
    fixed: false
  },
  {
    prop: 'operatingPersonnel', 
    label: '操作人', 
    width: '',
    fixed: false
  },
  {
    prop: 'remark', 
    label: '备注', 
    width: '',
    fixed: false
  },
]

//积分账户 表格头部
const integraTableH = [
  {
    prop: 'changingWay', // <String>  对应属性名
    label: '渠道', // <String>   表头标签
    width: 100,
    fixed: true
  },
  {
    prop: 'changingReason', // <String>  对应属性名
    label: '变动原因', // <String>   表头标签
    width: 100,
    fixed: false
  },
  {
    prop: 'changingDate', // <String>  对应属性名
    label: '变动时间', // <String>   表头标签
    width: 100,
    fixed: false
  },
  {
    prop: 'changingAccount',
    label: '积分变动',
    width: 140,
    fixed: false
  },
  // {
  //   prop: 'remainingAccount',
  //   label: '剩余积分',
  //   width: 100,
  //   fixed: false
  // },
  {
    prop: 'orderId',
    label: '订单编号',
    width: 100,
    fixed: false
  },
  {
    prop: 'status',
    label: '状态',
    width: 100,
    fixed: false
  },
  {
    prop: 'purpose',
    label: '用途',
    width: 100,
    fixed: false
  },
  {
    prop: 'effectiveDateStart',
    label: '生效时间',
    fixed: false
  },

  {
    prop: 'effectiveDateEnd',
    label: '过期时间',
    fixed: false
  },
  {
    prop: 'operatingPersonnel',
    label: '操作人',
    width: 100,
    fixed: false
  },
  {
    prop: 'remark',
    label: '备注',
    width: 100,
    fixed: true
  }
]

//卡包账户 里卡包明细 表格头部
const cardTableH = [
  {
    isShow: true,
    prop: 'getWay',
    label: '渠道',
    width: 100,
    fixed: true
  },
  {
    isShow: true,
    prop: 'getReason',
    label: '原因',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'getDate',
    label: '时间',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'cardType',
    label: '卡券类型',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'cardDetail',
    label: '卡券明细',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'status',
    label: '卡券状态',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'effectiveDate',
    label: '生效时间',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'overdueDate',
    label: '过期时间',
    width: 120,
    fixed: false
  },
  {
    isShow: true,
    prop: 'operatingPersonnel',
    label: '操作人',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'remark',
    label: '备注',
    width: 100,
    fixed: false
  },
]
//卡包账户 使用历史 表格表头
const cardHistoryH = [
  {
    isShow: true,
    prop: 'usedWay',
    label: '渠道',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'purpose',
    label: '用途',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'orderId',
    label: '订单编号',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'cardType',
    label: '卡券类型',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'cardDetail',
    label: '卡券明细',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'createTime',
    label: '使用时间',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'operatingPersonnel',
    label: '操作人',
    width: 100,
    fixed: false
  },
]

//交易账户 表格表头
const tradeTableH = [
  {
    isShow: true,
    prop: 'orderNum',
    label: '订单编号',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'returnNum',
    label: '退货单号',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'orderStatus',
    label: '订单状态',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'orderTime',
    label: '下单时间',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'payTime',
    label: '支付时间',
    width: 100,
    fixed: false
  },
  {
    isShow: true,
    prop: 'actualPayTime',
    label: '实付金额',
    width: 100,
    fixed: false
  },
]

//订单明细
const orderTableH = [
  {
    isShow: true,
    prop: 'ChannelName',
    label: '渠道',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'OrderID',
    label: '订单编号',
    width: '',
    fixed: false
  },
  // {
  //   isShow: true,
  //   prop: 'ReturnOrderID',
  //   label: '退货单号',
  //   width: 100,
  //   fixed: false
  // },
  {
    isShow: true,
    prop: 'PayState',
    label: '支付状态',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'OrderState',
    label: '订单状态',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'OrderTime',
    label: '下单时间',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'FirstPayTime',
    label: '首次支付时间',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'Amount',
    label: '订单金额',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'DiscountAmount',
    label: '优惠金额',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'PayableAmount',
    label: '应付金额',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'PaidAmount',
    label: '实付金额',
    width: '',
    fixed: false
  },
  {
    isShow: true,
    prop: 'RefundAmount',
    label: '已退金额',
    width: '',
    fixed: false
  },
]
 

/* 操作日志*/
const operateLogTableH = [
  {
    prop: 'operatingPersonnel',
    label: '操作人',
    width: 100,
    fixed: false
  },
  {
    prop: 'type',
    label: '变动类型',
    width: 100,
    fixed: false
  },
  {
    prop: 'content',
    label: '变更记录',
    width: 100,
    fixed: false
  },
  {
    prop: 'operatingDate',
    label: '操作时间',
    width: 100,
    fixed: false
  },
  ]



export default {
    basicData,
    classEquity,
    integraAccount,
    customizaTableH,
    integraTableH,
    orderTableH,
    cardTableH,
    cardHistoryH,
    tradeTableH,
    operateLogTableH
}
